FROM openjdk:13
ADD eureka.jar /app.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
EXPOSE 8220
ENTRYPOINT ["java","-jar","/app.jar","-DENV=uat"]